package com.qf.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description: 公用常量
 * @Data: 2022/9/2 11:01
 * @Pacakge: com.qf.controller
 * @ClassName: HelloController
 * @Author: fan
 */
@Controller//标记当前类为控制层
@RequestMapping(value = "helloController" )
public class HelloController {
    @RequestMapping("hello")
    public String hello(){
        System.out.println("hello执行了...");
        return "success";
    }
}
